[INFO] fetching crate libninja_macro 0.1.0...
[INFO] checking libninja_macro-0.1.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate libninja_macro 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate libninja_macro 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate libninja_macro 0.1.0
[INFO] tweaked toml for crates.io crate libninja_macro 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libninja_macro 0.1.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5f61b6b8622d0cf598e6fe64002980d18530dbedfc37251623ff1065008885b
[INFO] running `Command { std: "docker" "start" "-a" "e5f61b6b8622d0cf598e6fe64002980d18530dbedfc37251623ff1065008885b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5f61b6b8622d0cf598e6fe64002980d18530dbedfc37251623ff1065008885b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5f61b6b8622d0cf598e6fe64002980d18530dbedfc37251623ff1065008885b", kill_on_drop: false }`
[INFO] [stdout] e5f61b6b8622d0cf598e6fe64002980d18530dbedfc37251623ff1065008885b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7d1e85748d19d5b63c5e9365794c74b499336c1e9e4391fb6ce02ac9192d349
[INFO] running `Command { std: "docker" "start" "-a" "f7d1e85748d19d5b63c5e9365794c74b499336c1e9e4391fb6ce02ac9192d349", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]     Checking syn v2.0.106
[INFO] [stderr]     Checking libninja_macro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]  --> tests/test_only_need_single_braces.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut s = function!(pub NewClientFromEnv() -> #client_name);
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]  --> tests/test_only_need_single_braces.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut s = function!(pub NewClientFromEnv() -> #client_name);
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use syn::Visibility;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mir`
[INFO] [stdout]  --> tests/rfunction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mir::Function;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `mir`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mir`, use `cargo add mir` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/rfunction.rs:9:36
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let s: Function<TokenStream> = rfunction!(add(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |  ____________________________________^
[INFO] [stdout] 10 | |         println!("Hello, World!")
[INFO] [stdout] 11 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/rfunction.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut main = rfunction!(main());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/rfunction.rs:9:36
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let s: Function<TokenStream> = rfunction!(add(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |  ____________________________________^
[INFO] [stdout] 10 | |         println!("Hello, World!")
[INFO] [stdout] 11 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/rfunction.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut main = rfunction!(main());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mir`
[INFO] [stdout]  --> tests/function.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mir::{Function, Visibility};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `mir`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mir`, use `cargo add mir` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libninja_macro` (test "test_only_need_single_braces") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]  --> tests/function.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s: Function<String> = function!(async main() {});
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libninja_macro` (test "rfunction") due to 5 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s: Function<String> = function!(print_repeated(s: str, n: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let s: Function<String> = function!(add(a: int, b: int) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let s: Function<String> = function!(add(a: int, b: #z) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let s: Function<String> = function!(add(a: int, b: int) -> #z {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let s: Function<String> = function!(#z(a: int, b: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 67 | |         print(a);
[INFO] [stdout] 68 | |         print(b);
[INFO] [stdout] 69 | |         a + b;
[INFO] [stdout] 70 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 86 | |         print(a);
[INFO] [stdout] 87 | |         print(b);
[INFO] [stdout] 88 | |         a + b;
[INFO] [stdout] 89 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]  --> tests/function.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s: Function<String> = function!(async main() {});
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 1 + use syn::Visibility;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s: Function<String> = function!(print_repeated(s: str, n: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s: Function<String> = function!(print_repeated(s: str, n: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let s: Function<String> = function!(add(a: int, b: int) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let s: Function<String> = function!(add(a: int, b: int) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let s: Function<String> = function!(add(a: int, b: #z) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let s: Function<String> = function!(add(a: int, b: #z) -> int {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let s: Function<String> = function!(add(a: int, b: int) -> #z {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let s: Function<String> = function!(add(a: int, b: int) -> #z {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let s: Function<String> = function!(#z(a: int, b: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let s: Function<String> = function!(#z(a: int, b: int) {});
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 67 | |         print(a);
[INFO] [stdout] 68 | |         print(b);
[INFO] [stdout] 69 | |         a + b;
[INFO] [stdout] 70 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 67 | |         print(a);
[INFO] [stdout] 68 | |         print(b);
[INFO] [stdout] 69 | |         a + b;
[INFO] [stdout] 70 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 86 | |         print(a);
[INFO] [stdout] 87 | |         print(b);
[INFO] [stdout] 88 | |         a + b;
[INFO] [stdout] 89 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Visibility;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates
[INFO] [stdout]   --> tests/function.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let s: Function<String> = function!(debug_add(a: int, b: int) -> int {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 86 | |         print(a);
[INFO] [stdout] 87 | |         print(b);
[INFO] [stdout] 88 | |         a + b;
[INFO] [stdout] 89 | |     });
[INFO] [stdout]    | |______^ could not find `mir` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use proc_macro2::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use syn::Ident;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libninja_macro` (test "function") due to 24 previous errors
[INFO] running `Command { std: "docker" "inspect" "f7d1e85748d19d5b63c5e9365794c74b499336c1e9e4391fb6ce02ac9192d349", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7d1e85748d19d5b63c5e9365794c74b499336c1e9e4391fb6ce02ac9192d349", kill_on_drop: false }`
[INFO] [stdout] f7d1e85748d19d5b63c5e9365794c74b499336c1e9e4391fb6ce02ac9192d349
